package ro.myApp.security.service.user;

import org.mule.api.transformer.TransformerException;
import org.mule.transformer.AbstractTransformer;
import org.mule.transport.NullPayload;

public class MailToResponseTransformer extends AbstractTransformer {

	@Override
	public Object doTransform(Object src, String encoding)
			throws TransformerException {
		try {
			if (src == null || (src instanceof NullPayload))
				return null;
			else
				return src;
		} catch (Throwable t) {
			return src;
		}
	}

}
